﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebAPITest.Models.Database;

namespace WebAPITest.Models
{
    public interface IRedisService
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="good"></param>
        void AddGoodViews(int userId, Good good);
        /// <summary>
        /// 
        /// </summary>
        List<Good> GetUserViews(int userId);
    }
}
